/*
 * ChooseBankCardHolder.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/**
 * 选择银行卡支付-ViewHolder
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 10:43
 */
public class ChooseBankCardHolder extends ViewHolder {

    private ImageView icBank;
    private TextView tvBankName;
    private TextView tvBankInfo;
    private ImageView ivChooseBankCard;

    @Override
    protected void initView(View rootView) {
        icBank = (ImageView) rootView.findViewById(R.id.ic_bank);
        tvBankName = (TextView) rootView.findViewById(R.id.tv_bank_name);
        tvBankInfo = (TextView) rootView.findViewById(R.id.tv_bank_info);
        ivChooseBankCard = (ImageView) rootView.findViewById(R.id.iv_choose_bank_card);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_choose_bank_card;
    }
}
